<div id="cms">
<table class="table">
	<tr>
		<th width="52">Position</th>
		<th width="">Spaltenname</th>
		<th width="">Titel</th>
		<th width="60">Datentyp</th>
		<th width="60">Gr&ouml;sse</th>
		<th width="70">Zwingend</th>
		<th width="">Ersteller</th>
		<th width="160">Erstelldatum</th>
		<th width="70">Bearbeiten</th>
	</tr>
	
{foreach from=$SimpleTable_Columns item=i name=fe}
	
	{assign var="pk" value=$i->pkSimpleTableCol}
	
	<tr{if $smarty.get.markid==$i->pkSimpleTableCol || $i->isFirst || $i->isLast} class="{if $smarty.get.markid==$i->pkSimpleTableCol}marked{/if}{if $i->isFirst} first{/if}{if $i->isLast} last{/if}"{/if}>
		<td>
			{html_linkbutton icon="arrow_down.png" text="Nach Rechts schieben" link="$Sys_CurrentPageURL&method=moveColumn&direction=down&pkSimpleTableCol=$pk&amp;pkSimpleTable=" addlink=$i->fkSimpleTable type="icon" size="20" enabled=$i->canMoveDown}
			{html_linkbutton icon="arrow_up.png" text="Nach Links schieben" link="$Sys_CurrentPageURL&method=moveColumn&direction=up&pkSimpleTableCol=$pk&amp;pkSimpleTable=" addlink=$i->fkSimpleTable type="icon" size="20" enabled=$i->canMoveUp}
		</td>
		<td>{$i->name}</td>
		<td>{$i->title}</td>
		<td>{$i->type}</td>
		<td>{if $i->lenght}{$i->lenght}{else}-{/if}</td>
		<td>{html_linkbutton icon="ok.png" text="Zwingend" type="icon" size="20" enabled=$i->required}</td>
		<td>{$i->createUserName}</td>
		<td>{$i->createDate|date_format:"%d.%m.%Y um %H:%M:%S"}</td>
		<td>
			{html_linkbutton icon="write.png" text="Bearbeiten" link="$Sys_CurrentPageURL&amp;method=editColumn&pkSimpleTableCol=$pk&amp;pkSimpleTable=" addlink=$i->fkSimpleTable type="icon" size="20"}
			{html_linkbutton icon="delete.png" text="L&ouml;schen" link="$Sys_CurrentPageURL&amp;method=deleteColumn&pkSimpleTableCol=$pk&amp;pkSimpleTable=" addlink=$i->fkSimpleTable type="icon" size="20"}
		</td>
	</tr>		
{/foreach}
</table>
</div>